home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / RAND / ALL96.LZH / t0111 / text0023.txt < prev    next >
Encoding:
Text File  |  1996-03-07  |  2.6 KB  |  52 lines

  1.  
  2. > > > Will an networkdriver in C do the job?
  3. > > Maybe if we use these modular network drivers, the modules could be made
  4. > > in C (with gcc -O2 it would propably be fast enough?) and then in some way
  5. > > the functions could be put toghether in a library readable by Bad Mood, I
  6. > > don't know exactly how this could be done though...
  7. > Propably can't be done. From what I've seen, Bad Mood is written very
  8. > much like a demo, i.e. it relies very much on the fact that the machine
  9. > is always in a known state. Involving OS serial comms and some C drivers
  10. > would not only slow things down very much, but the OS involvement and the
  11. > fact the the machine will not always be in a known state will slow things
  12. > down even further.
  13.  
  14. This is an idea to consider, though I believe that if the networking
  15. driver can be done using an interrupt (Which in itself makes it a bit
  16. harderto do in C), then the Bad Mood program itself doesn't really need to
  17. know what is going on. All it needs to know is when to fetch new data from
  18. the incoming buffer, and when to send off data through the outgoing
  19. buffer. (Once each second should be possible if the protocol is optimized
  20. with the consideration of package size) The networking code should be
  21. quick enough to not cause problems or slow-downs on the main program.
  22.  
  23. > Let's not wander of in wonder-wonderland imagning things about what can 
  24. > be done. I would say that the best bet in getting anything to work at all 
  25. > is to use direct hardware accesses to the MIDI interface, it is a well 
  26. > documented interface that hasn't changed very much since the ST's so we 
  27. > have some pretty good proof it works with not too much work (MidiMaze and 
  28. > SubStation).
  29.  
  30. Using direct hardware access tot he other ports shouldn't be all that
  31. hard, either. I have access to the official Atari documentation, plus
  32. quite a bit more, and I looked over it a few days ago - Might be possible
  33. to achieve real high-speed networking through the serial port, and the
  34. Midi port might eve be stretched beyond 31250 bps. This is still just a
  35. theory, as I haven't tried it out. yet.
  36.  
  37. > Somethimes choke on my Coca Cola when I read some of the more "in the 
  38. > blue" suggestions.
  39.  
  40. Yeah, I know the feeling :)
  41.  
  42. Off to class. More stupid ideas and comments coming from me tomorrow!
  43.  
  44. Kai
  45.  
  46. =====================================================================
  47. Kai Trygve Holst           # These are not the views of HiAa - They
  48. P.O.Box 5061, Larsgaarden  # are Copyright (C) 1995, Kai Trygve Holst
  49. N-6021 Aalesund, Norway    # "The fairest rose is picked the first"
  50. http://www.hials.no/~kh/   # "Time is the silentmost enemy of youth"
  51.  
  52.